package com.teamall.web.fpgz.db.dao.mapper;

import com.teamall.web.fpgz.db.arg.CodeFamilyAidLogArg;
import com.teamall.web.fpgz.db.po.CodeFamilyAidLogPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeFamilyAidLogMapper {
    
    List<Integer> countByArg(CodeFamilyAidLogArg arg);

    List<CodeFamilyAidLogPO> selectByArg(CodeFamilyAidLogArg arg);

    CodeFamilyAidLogPO selectByPrimaryKey(Integer id);

    List<CodeFamilyAidLogPO> selectByArgAndPage(CodeFamilyAidLogArg arg, RowBounds rowBound);

    int insert(CodeFamilyAidLogPO record);

    int insertSelective(CodeFamilyAidLogPO record);

    int insertBatch(@Param("list") List<CodeFamilyAidLogPO> records);

    int updateByArgSelective(@Param("record") CodeFamilyAidLogPO record,
            @Param("arg") CodeFamilyAidLogArg arg);

    int updateByArg(@Param("record") CodeFamilyAidLogPO record,
            @Param("arg") CodeFamilyAidLogArg arg);

    int updateByPrimaryKeySelective(CodeFamilyAidLogPO record);

    int updateByPrimaryKey(CodeFamilyAidLogPO record);
    
    int deleteByArg(CodeFamilyAidLogArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}